home *** CD-ROM | disk | FTP | other *** search
- OS2EDIT
-
- OS2EDIT is a command line stacker for OS2. It allows you to save the
- last 15 commands typed in at the OS2 prompt and use the cursor keys to
- retrieve, and edit, these commands.
-
- The program has two components, OS2EDIT.DLL and OS2LOAD.EXE. the DLL
- needs to go in a directory that is specified in your LIBPATH entry in your
- config.sys file. OS2LOAD needs to be executed in order to start the
- stacking process.
-
- You need to run OS2LOAD in any session that you which to use the command
- stacking function.
-
- To retrieve the stored commands press the UP ARROW or DOWN ARROW keys.
- The following keys can be used to edit the command.
-
- RIGHT ARROW - move right onr character
- LEFT ARROW - move left one character
- DEL - del the character under the cursor
- INS - enter insert mode
- END - move to the end of the command string
- HOME - go to the beginning of the command string
- BACKSPACE - move left one character and delete it
- CTRL-RIGHT ARROW - move to the beginning of the next word
- CTRL-LEFT ARROW - move to the beginning of the previous word
- ESCAPE - delete this command from the screen
- CTRL-END - delete all characters from the cursor to end of line
-
- OS2EDIT also allows you to assign commonly executed commands to a function
- key. It will also allow you to specify variables in the function key
- assignment that will be replaced with data on the command line.
-
- to assign a command to a function key you need an ASCII file called
- OS2EDIT.CFG in the root directory of your C drive. Place entrys of the
- form Fn=string in it. e.g
-
- F1=cls
-
- In this example pressing F1 would clear the screen. Another example using
- variable replacement. Assume you have the following entry in your OS2EDIT.CFG
-
- F1=CL /AL /G2s /Od %.c
-
- at the OS2 prompt type PROG1 and then press F1. OS2EDIT will pass the following
- command back to OS2 CL /AL /G2s /Od PROG1.c
-
- OS2EDIT has been tested on OS2 Version 1.0 and 1.1.
-
- OS2EDIT is distributed as is. Please free to copy it.
- If you find this product useful and would like to register for free
- upgrades and a more comprehensive manual send $15 to the address below.
- If you would like the source code and make file for OS2EDIT plus the
- manual send $60 to the address below. If you have any questions, comments
- or problems you can email me at CIS (ID 71507,1033).
-
- Steve Bridges
- 1391 union street
- Manchester NH 03104.
-
-
-